//判断字符串是否相等
public class Opinion {
    public static void main(String[] args) {
        String s1="abc";
        String s2="ABC";
        String s3="abc";
        boolean b=s1.equals(s2);
        boolean c=s1.equals(s3);
        boolean d=s1.equalsIgnoreCase(s2);
        System.out.println(s1+" equlas "+s2+":"+b);
        System.out.println(s1+" equlasIgnoreCase "+s3+":"+c);
        System.out.println(s1+" equals "+s3+":"+d);
    }
}
